package com.xh.petdogexpert.sys.service;

import java.util.List;

import com.xh.petdogexpert.base.BaseException;
import com.xh.petdogexpert.sys.dto.Resource;
import com.xh.petdogexpert.sys.dto.Role;
import com.xh.petdogexpert.user.dto.RoleResourceLink;

public interface IRoleService {
	
	List<Role> queryRoles(Role role);

	List<Role> getRoleResources(Role role);
	
	List<Resource> getRoleAllResources(Role role) throws BaseException;


	void updateRoleResources(List<RoleResourceLink> roleResourceLinks);
	
}
